package cn.qlu.yhy.model;

import java.util.Date;

public class Message {

    private int id;

    private int userId;

    private int receiveUserId;

    private String message;

    private Date createDate;

    private String messageType;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getReceiveUserId() {
        return receiveUserId;
    }

    public void setReceiveUserId(int receiveUserId) {
        this.receiveUserId = receiveUserId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public Message() {
        super();
    }

    public Message(int id, int userId, int receiveUserId, String message,
            Date createDate, String messageType) {
        super();
        this.id = id;
        this.userId = userId;
        this.receiveUserId = receiveUserId;
        this.message = message;
        this.createDate = createDate;
        this.messageType = messageType;
    }



}
